
import { MongooseFactory } from "../kalend";
import { Schema } from "mongoose";

/** 用户地理位置表 */
const schema = MongooseFactory.Schema({
    userid:{
        type: Schema.Types.ObjectId,
        ref: "customer_account"
    },
    logintime:{
        type: Date
    },
    loginip:{
        type: String
    },
    longitude:{
        type: String
    },
    latitude:{
        type: String
    }
});



export const customer_addrModel = MongooseFactory.Model("customer_addr", schema);